package com.example.teamilkmall.mapper;

import com.example.teamilkmall.entity.CustomerInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author czl
 * @Date 2025-01-07
 */
public interface CustomerInfoMapper {
    List<CustomerInfo> listCustomerInfo(@Param("pageSize") Integer pageSize, @Param("pageNum") Integer pageNum, @Param("name") String name);

    /**
     * 查询管理员信息列表
     * @return
     */
    List<CustomerInfo> listCustomerInfoAll();

    void updateCustomerInfo(CustomerInfo customerInfo);

    void deloneCustomerInfo(Integer id);

    void addCustomerInfo(CustomerInfo customerInfo);
}
